import films from "@/views/films/Film"
import HotMovie from "@/views/films/HotMovie"
import FMovie from "@/views/films/FMovie"
import Classic from "@/views/films/Classic"
import Cinema from '@/views/films/Cinema'
import Detail from '@/views/films/Detail'
import City from '@/views/films/City'
import CinemaDetail from '@/views/films/CinemaDetail'
const filmsRoutes = [

    {
        path:'/films',
        component:films,
        //子路由
        children:[
            {
              path:'hotmovie',
              component:HotMovie
            },
            {
              path:'fmovie'
              ,component:FMovie
            },
            {
              path:'classic',
              component:Classic
            },
            {
              path:'cinema',
              component:Cinema
            }
        ]
    },
    {
        path:"/film/:film_id",
        component:Detail,
    },
    {
        path:"/city/:ci",
        component:City,
    },
    {
        path:"/cinemaDetail",
        component:CinemaDetail,
    },
]
export default filmsRoutes